package com.example.springbootshiro.mapper;

import com.example.springbootshiro.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    User selectByname(String name);
    List<User> selectAll();
}
